﻿using System;
using Model.Interfaces;
using Model.NotifyingCollections;

namespace Model.ModelClasses
{
    public class Town : AbstractModel, ITown
    {
        public Town()
        {
            Streets = new NotifyingModelList();
        }
        public ICountry Country { get; set; }
        public String Name { get; set; }
        public NotifyingModelList Streets { get; set; }
        public override string ToString()
        {
            return Name;
        }
    }
}